<?php
// Now the script has run, generate a new cache file
  $fp = @fopen($cachefile, 'w');

  // save the contents of output buffer to the file
  @fwrite($fp, ob_get_contents());
  @fclose($fp);

global $time_start;
$time_end = microtime(true);
$time = $time_end - $time_start;

echo $time;
ob_end_flush();
?>
